package de.hsos.mad;

import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceActivity;

public class CCPreferencesActivity extends PreferenceActivity { 
	
	@Override
	public void onCreate(Bundle savedInstanceState) { 
		super.onCreate(savedInstanceState); 
		this.addPreferencesFromResource(R.xml.cc_preferences);
	}

	public static final SharedPreferences getCCPreferences (Context ctx) {
		return ctx.getSharedPreferences (ctx.getPackageName() + "_preferences", MODE_PRIVATE);
	} 
	
	
}
